package com.cpems.system.domain.bo;

import com.cpems.common.core.domain.BaseEntity;
import com.cpems.common.core.validate.AddGroup;
import com.cpems.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.math.BigDecimal;

/**
 * 各项目每日能效业务对象 sys_energy_project
 *
 * @author lyonfive
 * @date 2025-03-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SysEnergyProjectBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long energyId;

    /**
     * 项目Id
     */
    @NotNull(message = "项目Id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long projectId;

    /**
     * 总制冷量
     */
    @NotNull(message = "总制冷量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal totalCold;

    /**
     * 总耗电量
     */
    @NotNull(message = "总耗电量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal totalKwh;

    /**
     * 总COP
     */
    @NotNull(message = "总COP不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal totalCop;

    /**
     * 总散热量
     */
    @NotNull(message = "总散热量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal totalHeat;


}
